|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.pnr.hci.UniqueIdentifier
public class UniqueIdentifier
This object represents a unique identifier with a type and a value.
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="uid">
<xs:complexType>
<xs:attribute name="type" type="xs:string" use="required" />
<xs:attribute name="value" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
| Field Summary | |
|---|---|
static java.lang.String |
TAG_NAME
The XML tag name of this object. |
| Constructor Summary | |
|---|---|
UniqueIdentifier()
Builds an empty unique identifier object. |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the child representing
the marshallable object which must be added to the element. |
java.lang.String |
getType()
Gets the type of the unique identifier. |
java.lang.String |
getValue()
Gets the value of the unique identifier. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setType(java.lang.String type)
Sets the type of the unique identifier. |
void |
setValue(java.lang.String value)
Sets the value of the unique identifier. |
java.lang.String |
toString()
|
static UniqueIdentifier |
valueOf(java.lang.String input)
Returns a unique identifier based on its string representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TAG_NAME
| Constructor Detail |
|---|
public UniqueIdentifier()
| Method Detail |
|---|
public java.lang.String getType()
public void setType(java.lang.String type)
type - the type of the unique identifierpublic java.lang.String getValue()
public void setValue(java.lang.String value)
value - the value of the unique identifierpublic void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - The XML attributes of the current element
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - The XML output to marshal the object intopublic java.lang.String toString()
toString in class java.lang.Objectpublic static UniqueIdentifier valueOf(java.lang.String input)
input - an input string representing the unique identifier and following the format of the toString() method
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||